package router

import (
	"api-gate/handler"
	"github.com/gin-gonic/gin"
)

func LordRouter(r *gin.Engine) {
	api := r.Group("/api")
	{
		video := api.Group("/video")
		{
			video.POST("/add", handler.VideoAdd)
			video.POST("/upload", handler.Upload)
			video.POST("/list", handler.List)
			video.POST("/login", handler.Login)
			video.POST("/info", handler.Info)
		}
	}
}
